# -*- coding: utf-8 -*-
# @Author   : niejiali
# @Time     : 2019/2/15 10:08
# @File     : mytest.py
# @Software : PyCharm
import inspect
import os


class cls:
    pass

name = cls.__name__
path = inspect.getfile(cls)
dirname = os.path.dirname(path)
print(dirname)
path = dirname + "/resource/ui/" + name + ".ui"
